package com.baijiaoxi.common.model.request;

import com.baijiaoxi.common.model.local.ThreadLocalUtil;

import java.util.Date;


public class RequestInfoHelper {
    public static RequestInfo get() {
        return ThreadLocalUtil.get();
    }

    public static Long getWeappId() {
        return get().getWeappId();
    }

    public static Long getAccountId() {
        return get().getAccountId();
    }

    public static Long getProductId() {
        return get().getProductId();
    }

    public static Long getUserId() {
        return get().getUserId();
    }

    public static String getUserIdStr() {
        return get().getUserIdStr();
    }
    public static Date getStartTimeAsDate() {
        return get().getStartTimeAsDate();
    }
}
